//
//  UIButton+InsetButton.h
//  CustomWindow
//
//  Created by heshun on 16/7/30.
//  Copyright © 2016年 heshun. All rights reserved.
//

#import <UIKit/UIKit.h>
typedef NS_ENUM(NSInteger, HSButtonEdgeInsetStyle) {
    HSButtonEdgeInsetStyleTop, // image在上，lable在下
    HSButtonEdgeInsetStyleLeft,// image在左，lable在右
    HSButtonEdgeInsetStyleBottom,// image在下，lable在上
    HSButtonEdgeInsetStyleRight// iamge在右，lable在左 系统默认
};

@interface UIButton (InsetButton)


///设置button的titlelable和imageview的布局样式，及间距
- (void)layoutButtonEdgeInsetStyle:(HSButtonEdgeInsetStyle)style imageTitleSpace:(CGFloat)space;
    
@end
